home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / Icon 8.1 / msm-1 / icont.sit / icont.r / icont.r
Encoding:
Text File  |  1992-10-11  |  3.2 KB  |  160 lines  |  [TEXT/MPS ]

  1. /*
  2.     Commando dialog definition for the Icon Programming Language
  3.     translator and linker (icont).
  4. */
  5.  
  6. #include "Cmdo.r"
  7. #include "Types.r"
  8.  
  9. resource 'cmdo' (128) {
  10.     {    /* array dialogs: 1 element */
  11.         /* [1] */
  12.         295,
  13.         "Icont — Icon Programming Language Translator & Linker.  "
  14.         "Clicking on any control will display a help message in this box.",
  15.         {    /* array itemArray */
  16.             /* [1] */
  17.             NotDependent {},
  18.             MultiFiles {
  19.                 "Input File(s)…",
  20.                 "Choose the source (.icn) & icode (.u1) files you "
  21.                 "wish to include.",
  22.                 /*{30, 24, 54, 132},*/
  23.                 {30, 76, 54, 184},
  24.                 "Source & Ucode Files:",
  25.                 "",
  26.                 MultiInputFiles {
  27.                     {    /* array MultiTypesArray: 1 elements */
  28.                         /* [1] */
  29.                         /*text*/  /* .u? files are not TEXT */
  30.                     },
  31.                     ".icn",
  32.                     "Files ending in .icn",
  33.                     /*"All text files"*/
  34.                     "All files"
  35.                 }
  36.             },
  37.             /* [2] */
  38.             Or {
  39.                 {1}
  40.             },
  41.             Files {
  42.                 InputOrOutputFile,
  43.                 OptionalFile {
  44.                     {117, 261, 133, 429},
  45.                     {133, 261, 152, 429},
  46.                     "Icode File Name",
  47.                     "Root name of 1st file",
  48.                     "-o",
  49.                     " (root name)",
  50.                     "This is the name to give to the executable "
  51.                     "program (icode file).  The default is the root "
  52.                     "portion of the first source or ucode file specified.",
  53.                     dim,
  54.                     "Default icode file",
  55.                     "Select existing icode file…",
  56.                     "Create new icode file…"
  57.                 },
  58.                 Additional {
  59.                     "-o",
  60.                     "",
  61.                     "",
  62.                     "",
  63.                     {    /* array TypesArray */
  64.                         text
  65.                     }
  66.                 }
  67.             },
  68.             /* [4] */
  69.             NotDependent {},
  70.             Redirection {
  71.                 StandardInput,
  72.                 {30, 210}
  73.             },
  74.             /* [5] */
  75.             NotDependent {},
  76.             Redirection {
  77.                 StandardOutput,
  78.                 {30, 338}
  79.             },
  80.             /* [6] */
  81.             NotDependent {},
  82.             Redirection {
  83.                 DiagnosticOutput,
  84.                 {68, 274}
  85.             },
  86.             /* [7] */
  87.             NotDependent {},
  88.             TextBox {
  89.                 gray,
  90.                 {20, 200, 112, 460},
  91.                 "Input and Output Redirection"
  92.             },
  93.             /* [8] */
  94.             NotDependent {},
  95.             CheckOption {
  96.                 NotSet,
  97.                 {68, 24, 84, 190},
  98.                 "Translate only",
  99.                 "-c",
  100.                 "Translate source files to create ucode files only "
  101.                 "— do not link."
  102.             },
  103.             /* [9] */
  104.             NotDependent {},
  105.             CheckOption {
  106.                 NotSet,
  107.                 {92, 24, 108, 190},
  108.                 "Suppress messages",
  109.                 "-s",
  110.                 "Suppress output of non-error, informative messages."
  111.             },
  112.             /* [10] */
  113.             NotDependent {},
  114.             CheckOption {
  115.                 NotSet,
  116.                 {116, 24, 132, 190},
  117.                 "Trace",
  118.                 "-t",
  119.                 "Give keyword &trace an initial value of -1 when "
  120.                 "program is executed."
  121.             },
  122.             /* [11] */
  123.             NotDependent {},
  124.             CheckOption {
  125.                 NotSet,
  126.                 {140, 24, 156, 240},
  127.                 "Warn undeclared identifiers",
  128.                 "-u",
  129.                 "Issue warning messages for undeclared identifiers."
  130.             },
  131.             NotDependent {},
  132.             PictOrIcon {
  133.                 Icon, 128, {24, 24, 56, 56},
  134.             },
  135.             NotDependent {},
  136.             Box {
  137.                 gray,
  138.                 {18, 18, 62, 62}
  139.             }
  140.         },
  141.     }
  142. };
  143.  
  144.  
  145. /*
  146.    This is the ICON resource that creates the icon for the icon logo
  147.    for the Icon Programming Language.
  148. */
  149.  
  150. resource 'ICON' (128) {
  151.     $"0003 0000 000C 0000 001C 0000 0038 0000"
  152.     $"0033 8000 0006 C000 000C 6000 0006 0000"
  153.     $"0033 1800 0079 3C00 00CC 6630 00CC 6638"
  154.     $"0278 3C9C 0630 19CC 0C00 0362 88C0 0622"
  155.     $"8D80 0060 6730 18C0 7278 3C80 38CC 6600"
  156.     $"18CC 6600 0079 3C00 0031 9800 0000 C000"
  157.     $"000C 6000 0006 C000 0003 9800 0000 3800"
  158.     $"0000 7000 0000 6000 0001 80"
  159. };
  160.